package
{
	import flash.display.Sprite;
	import flash.events.Event;

	/**
	 * 整个PureMVC主要通过消息来传递信息，从而达到解耦的目的
	 * @author Inch
	 */

	[SWF(width="500", height="400", frameRate="24")]//, backgroundColor="0x0f0f0f")]
	public class MyFirstPureMvc extends Sprite
	{

		public function MyFirstPureMvc():void
		{
			var facade:ApplicationFacade=ApplicationFacade.getInstance();

			facade.startup(this.stage);
		}

		private function init(e:Event=null):void
		{
			removeEventListener(Event.ADDED_TO_STAGE, init);

		}

	}

}
